#include <iostream>
#include <math.h>
int main() {
    float a,b,c;
    scanf("%f%f%f",&a,&b,&c);
    float x,y;
    x=(-b+ sqrt(b*b-4*a*c))/(2*a);
    y=(-b- sqrt(b*b-4*a*c))/(2*a);
    if (b*b-(4*a*c)<0 && a==0){
        printf("Impossivel calcular");
    } else {
        printf("R1 = %.5f\n R2 = %.5f",x,y);
    }
    return 0;
}
